package com.authorization.project.single.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.authorization.framework.aspectj.lang.annotation.Excel;
import com.authorization.framework.web.domain.BaseEntity;

/**
 * 单服务对象 single_service
 * 
 * @author 李晓雷
 * @date 2020-07-11
 */
public class SingleService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String servicename;

    /** 中文名 */
    @Excel(name = "中文名")
    private String servicenamecn;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServicename(String servicename) 
    {
        this.servicename = servicename;
    }

    public String getServicename() 
    {
        return servicename;
    }
    public void setServicenamecn(String servicenamecn) 
    {
        this.servicenamecn = servicenamecn;
    }

    public String getServicenamecn() 
    {
        return servicenamecn;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("servicename", getServicename())
            .append("servicenamecn", getServicenamecn())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sort", getSort())
            .toString();
    }
}
